//
//  UILaber+Extension.swift
//  CXCWeibo
//
//  Created by cxc on 15/7/1.
//  Copyright © 2015年 china. All rights reserved.
//

import UIKit

extension UILabel {
    convenience init(color:UIColor,fontSize:CGFloat,mutiLines:Bool = false){
        self.init()
        
        font = UIFont.systemFontOfSize(fontSize)
        textColor = color
        
        if mutiLines{
            numberOfLines = 0
        }
    }
}
